#include "Thread/RIVIARunnable.h"
#include <QRunnable>
#include <QDebug>

RIVIARunnable::RIVIARunnable(std::function<void(void)> runEntry)
{
    setAutoDelete(true);
    m_function = runEntry;
}

RIVIARunnable::~RIVIARunnable()
{
}

void RIVIARunnable::run()
{
    m_function();
}
